//
//  c_NewsListData.m
//  CarWorld
//
//  Created by 曹杨杨 on 15/3/25.
//  Copyright (c) 2015年 CarWorldTeam. All rights reserved.
//

#import "c_NewsListData.h"
#import "UIImageView+WebCache.h"
@implementation c_NewsListData

-(void)dealloc
{
    [_title release];
    [_createTime release];
    [_header_img_url release];
    [_Id release];
//    [_image release];
    [super dealloc];
}

//
//- (void)setValue:(id)value forKey:(NSString *)key
//{
//    [super setValue:value forKey:key];
//    if ([key isEqualToString:@"header_img_url"]) {
//
//    }
//}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        [self setValue:value forKey:@"Id"];
    }
}

- (NSString *)description
{
    return [NSString stringWithFormat:@"%@ %@ %@",_header_img_url,_title,_Id];
}

//- (void)imageDownloader:(ImageDownloader *)imageDowndloader didiFinshLoadImage:(UIImage *)image
//{
//    self.image = image;
//    NSLog(@"下载好了");
//}


@end
